//
//  ElectricFeeInfo.m
//  EasyToo
//
//  Created by YuanDee on 13-9-15.
//
//

#import "ElectricFeeInfo.h"

@implementation ElectricFeeInfo
- (id)initWithDictionary:(NSDictionary *)jsonDictionary
{
    self = [self init];
    if (self) {
        self.billMonth = GetDictionaryStringDefaultNil(jsonDictionary, @"BillDate");
        self.currentFee = GetDictionaryStringDefaultNil(jsonDictionary, @"CurrMonthMonth");
        self.consumption = GetDictionaryStringDefaultNil(jsonDictionary, @"UseCount");
        self.laterFee = GetDictionaryStringDefaultNil(jsonDictionary, @"LaterFee");
        self.totalFee = GetDictionaryStringDefaultNil(jsonDictionary, @"TotalMoneyOneMonth");
        self.userName = GetDictionaryStringDefaultNil(jsonDictionary, @"UserName");
    }
    return self;
}

@end
